package com.njitzx.mapper;

import com.njitzx.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> getAll();


    @Select("select count(*) from tb_teacher")
    Long selectCount( );
}
